export default {
  namespaced:true,
  state:{
    token: ''
  },
  mutations:{
    setToken(state,token) {
      state.token = token
      uni.setStorageSync('token', token)
    },
    removeToken(state) {
      stake.token = ''
      uni.removeStorageSync('token')
    }
  },
  actions:{},
  getters:{},
}